import React from 'react';
import ReactDOM from 'react-dom/client';
import './index.css';
import App from './App';
import AppNormal from './AppNormal.js';
import reportWebVitals from './reportWebVitals';
import {dispatch, store} from './redux/store'
import {Provider} from "react-redux";
import AppQRCode from "./AppQRCode"; //redux相关
import Typewriter from "./typewriter";
import LazyImg from "./lazyImg";
import PerformanceTest from "./performanceTest";
import Lang from "./lang";
import UpLoad from "./UpLoad";
import HelloWorld from "./HelloWorld";
import ForceRender from "./ForceRender.jsx";
import Render from "./RenderTimes";





const root = ReactDOM.createRoot(document.getElementById('root'));

root.render(
    // <React.StrictMode>
    //     <App />
    // </React.StrictMode>

    <Provider store={store}>
        {/*<HelloWorld></HelloWorld>*/}
        {/*<UpLoad/>*/}
        {/*<AppNormal/>*/}
        {/*<App/>*/}
        {/*<LazyImg/>*/}
        {/*<Typewriter/>*/}
        {/*<PerformanceTest/>*/}
        {/*<Lang/>*/}
        {/*<ForceRender/>*/}
        <Render/>
    </Provider>
);


// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
reportWebVitals();
